home *** CD-ROM | disk | FTP | other *** search
-
- ∞∞±±≤≤ Cyrix Cx486SLC/DLC ≤≤±±∞∞
-
-
- Using the Cx486SLC/DLC Utilities
- ----------------------------------------------------------------------------
- This disk should contain the following files in the root directory
- cx486.exe interactive cache control utility
- cx486.cfg default cache settings .cfg file
- cx_det.exe detects the Cx486SLC/DLC microprocessor
- dma_tst.exe checks the dma cache coherency
-
-
- DETECTING the Cx486SLC/DLC
- ----------------------------------------------------------------------------
- To detect the Cx486SLC/DLC:
- cx_det.exe
-
- VIEWING the STATUS of the Cx486SLC/DLC CACHE REGISTERS
- ----------------------------------------------------------------------------
- To VIEW the Cx486SLC/DLC cache registers type:
- cx486.exe (set the path appropriately)
-
-
- INTERACTIVELY CONTROLLING the Cx486SLC/DLC INTERNAL CACHE with cx486.EXE
- ---------------------------------------------------------------------------
-
- To use the cx486.EXE utility from the command line type:
- cx486.exe (set the path appropriately)
-
- To automatically turn on the cache during boot using the cx486.CFG
- file add the following line to the AUTOEXEC.BAT file:
- C:\CACHE\cx486 q C:\CACHE\cx486.cfg (set the path appropriately)
-
-
- NOTE: The "user input starting address" for the Non-Cacheable Regions (NCR)
- should fall on a boundary that coincides with the size of the
- Non-Cacheable Region. cx486.EXE automatically
- translates the user's starting address to the "effective starting
- address" calculated by the Cx486SLC/DLC.
-
- Example 1 (correct):
- To set 640k to 1M as Non-Cacheable:
-
- NCR1 start address: A0000 size: 128k (A0000 is on 128k boundary)
- NCR2 start address: C0000 size: 256k (C0000 is on 256k boundary)
-
- Example 2 (correct):
- To set 512k to 1M as Non-Cacheable:
-
- NCR1 start address: 80000 size: 512k (80000 is on 512k boundary)
-
-
- ***********************************************************************
-
- cx486.CFG
-
- This file is used by the program cx486.EXE to configure the cache registers
- according to the data contained in the file. cx486.EXE reads each
- line in this file looking for a matching token(setup string) so it
- can convert the string into the value for the appropriate register.
-
- To use this file, look for the token(setup string) lines at the end
- of each section below. Enter a HEX value that appropriately sets up
- the cache. You can edit the value on the right side of the "=" sign,
- but you cannot edit the token itself.
-
- ***********************************************************************
-
- Cache Configuration Register 0
-
- Register 0C0h
-
- Bit 0 - NC0: If = 1, sets the first 64K bytes at each 1M byte
- boundry as non-cacheable, when operating in real or
- virtual 8086 mode.
- 1 - NC1: If = 1, sets the 640K to 1M region as non-
- cacheable.
- 2 - A20M: If = 1, enables A20M# input pin.
- 3 - KEN: If = 1, enables KEN# input pin.
- 4 - FLUSH: If = 1, enables KEN# input pin.
- 5 - BARB: If =, enables flushing of internal cache when
- hold state is entered.
- 6 - C0: Selects cache organization:
- 0 = 2-way set associative
- 1 = directed mapped
- 7 - SUSPEND: If = 1, enables SUSP# input and SUSPA# output
- pins.
-
- setup string (value in HEX)
- CC_0=21
-
- ***********************************************************************
-
- Cache Configuration Register 1
-
- Register 0C1h
-
- Bit 0 - RPL: If = 1, enables output pins RPLSET and RPLVAL#. If
- not enabled, outputs RPLSET and RPLVAL# wil float.
-
- setup string (value in HEX)
- CC_1=0
-
- ***********************************************************************
- Non-Cacheable Region Sizes:
-
- For Reference:
- 0 = Disabled
- 1 = 4 Kbytes
- 2 = 8 Kbytes
- 3 = 16 Kbytes
- 4 = 32 Kbytes
- 5 = 64 Kbytes
- 6 = 128 Kbytes
- 7 = 256 Kbytes
- 8 = 512 Kbytes
- 9 = 1 Mbytes
- 0Ah = 2 Mbytes
- 0Bh = 4 Mbytes
- 0Ch = 8 Mbytes
- 0Dh = 16 Mbytes
- 0Eh = 32 Mbytes
- 0Fh = 4 Gbytes
-
- ***********************************************************************
- Non-Cacheable Region 1
-
- Register C4, C5, and C6
-
- C4h
- Bits 7-0 - Address bits A31 - A24 of Region 1 starting address
-
- C5h
- Bits 7-0 - Address bits A23 - A16 of Region 1 starting address
-
- C6h
- Bits 7-4 - Address bits A15 - A12 of Region 1 starting address
- 3-0 - Size of non-cacheable Region 1
-
- setup strings (values in HEX)
- ARR_C4=00
-
- ARR_C5=0A
-
- ARR_C6=06
-
-
-
- ***********************************************************************
- Non-Cacheable Region 2
-
- Register C7, C8 and C9h
-
- C7h
- Bits 7-0 - Address bits A31 - A24 of Region 2 starting address
-
- C8h
- Bits 7-0 - Address bits A23 - A16 of Region 2 starting address
-
- C9h
- Bits 7-4 - Address bits A15 - A12 of Region 2 starting address
- 3-0 - Size of non-cacheable Region 2
-
- setup strings (values in HEX)
- ARR_C7=00
-
- ARR_C8=0C
-
- ARR_C9=07
-
-
- ***********************************************************************
- Non-Cacheable Region 3
-
- Register CA, CB and CCh
-
- CAh
- Bits 7-0 - Address bits A31 - A24 of Region 3 starting address
-
- CBh
- Bits 7-0 - Address bits A23 - A16 of Region 3 starting address
-
- CCh
- Bits 7-4 - Address bits A15 - A12 of Region 3 starting address
- 3-0 - Size of non-cacheable Region 3
-
- setup strings (values in HEX)
- ARR_CA=00
-
- ARR_CB=10
-
- ARR_CC=05
-
-
- ***********************************************************************
-
- Non-Cacheable Region 4
-
- Register CD, CE and CFh
-
- CDh
- Bits 7-0 - Address bits A31 - A24 of Region 4 starting address
-
- CEh
- Bits 7-0 - Address bits A23 - A16 of Region 4 starting address
-
- CFh
- Bits 7-4 - Address bits A15 - A12 of Region 4 starting address
- 3-0 - Size of non-cacheable Region 4
-
- setup strings (values in HEX)
-
- ARR_CD=00
-
- ARR_CE=00
-
- ARR_CF=03
-
-
- *********************************************************************
-
- DO_CACHE.EXE AND
- NO_CACHE.EXE simply turn on the cache or turn off the cache without
- manipulating any of the other cache configuration bits.
-
-
- ********************************************************************
-
- DMA_TST.EXE Is a test for determining if the cache hardware is
- properly configured such that cache coherency problems do not
- exist on a given motherboard. It will essentially perform
- floppy disk reads into memory and determine if the
- cache was properly flushed (via the Barb function or the
- flush pin) to disallow cache coherency problems. Invoke
- and read the comments for more info.
-
- *******************************************************************
-